package com.xywl.escort.view.withdraw;

import com.xywl.escort.di.ActivityScoped;
import com.xywl.escort.di.FragmentScoped;
import com.xywl.escort.view.setting.SettingsActivity;
import com.xywl.escort.view.setting.SettingsContract;
import com.xywl.escort.view.setting.SettingsPresenter;

import dagger.Binds;
import dagger.Module;
import dagger.android.ContributesAndroidInjector;

@Module
public abstract class WithdrawModule {

    @FragmentScoped
    @ContributesAndroidInjector
    abstract WithdrawActivity withdrawActivity();

    @ActivityScoped
    @Binds
    abstract WithdrawContract.Presenter withdrawPresenter(WithdrawPresenter presenter);
}
